package ai.assist.common.vo.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * RolePermissionOperationReqVO
 *
 * @version V1.0
 */
@Data
public class RolePermissionOperationReqVO {

    @ApiModelProperty(value = "角色id")
    @NotNull(message = "角色id不能为空")
    private String roleId;

    @ApiModelProperty(value = "菜单权限集合")
    @NotNull(message = "菜单权限集合不能为空")
    private List<String> permissionIds;

    @ApiModelProperty(value = "菜单half集合")
    private List<String> halfIds;
}
